<div class="sidebar" id="sidebar">
	<ul class="nav nav-list">
		<li class="<?php if(Yii::app()->controller->id=='dashboard') echo 'active' ?>">
			<a href="<?php echo Yii::app()->createUrl('admin/dashboard'); ?>">
				<i class="icon-dashboard"></i>
				<span class="menu-text"> Dashboard </span>
			</a>
		</li>
		
		<li <?php if(Yii::app()->controller->id=='states'): ?> class='active' <?php endif;?> >
			<a href="#" class="dropdown-toggle">
				<i class="icon-text-width"></i>
				<span class="menu-text">States </span>

				<b class="arrow icon-angle-down"></b>
			</a>

			<ul class="submenu">
				<li <?php if(Yii::app()->controller->id=='states' && Yii::app()->controller->action->id == 'index'): ?> class='active' <?php endif;?> >
					<a href="<?php echo Yii::app()->createUrl('admin/states');?>">
						<i class="icon-double-angle-right"></i>
						List
					</a>
				</li>

				<li <?php if(Yii::app()->controller->id=='states' && Yii::app()->controller->action->id == 'create'): ?> class='active' <?php endif;?> >
					<a href="<?php echo Yii::app()->createUrl('admin/states/create');?>">
						<i class="icon-double-angle-right"></i>
						Add
					</a>
				</li>

			</ul>
		</li>
		
		<li <?php if(Yii::app()->controller->id=='business'): ?> class='active' <?php endif;?> >
			<a href="#" class="dropdown-toggle">
				<i class="icon-desktop"></i>
				<span class="menu-text">Breweries </span>

				<b class="arrow icon-angle-down"></b>
			</a>

			<ul class="submenu">
				<li <?php if(Yii::app()->controller->id=='business' && Yii::app()->controller->action->id == 'index'): ?> class='active' <?php endif;?> >
					<a href="<?php echo Yii::app()->createUrl('admin/business');?>">
						<i class="icon-double-angle-right"></i>
						List
					</a>
				</li>

				<li <?php if(Yii::app()->controller->id=='business' && Yii::app()->controller->action->id == 'create'): ?> class='active' <?php endif;?> >
					<a href="<?php echo Yii::app()->createUrl('admin/business/create');?>">
						<i class="icon-double-angle-right"></i>
						Add
					</a>
				</li>

                <li <?php if(Yii::app()->controller->id=='business' && Yii::app()->controller->action->id == 'search'): ?> class='active' <?php endif;?> >
                    <a href="<?php echo Yii::app()->createUrl('admin/business/search');?>">
                        <i class="icon-double-angle-right"></i>
                        Google Search
                    </a>
                </li>

			</ul>
		</li>
	
	</ul><!--/.nav-list-->
	
	<div class="sidebar-collapse" id="sidebar-collapse">
		<i class="icon-double-angle-left"></i>
	</div>
</div>